package com.vmj.classfile.entity.constantinfo;

import com.vmj.classfile.ClassReader;
import com.vmj.classfile.entity.AbstractConstantInfo;

/**
 * Created by yangshoujun on 2017/8/6 上午10:43.
 */
public class ConstantIntegerInfo extends AbstractConstantInfo {

    int value;

    public ConstantIntegerInfo(ClassReader reader) {
        super(reader);
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public void parse() {
        this.value = super.getReader().readInt();
    }
}
